<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="../../static/layui/css/layui.css">
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo">系统后台</div>
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item">
                <a href="javascript:;">
                    <img id="userImg" onerror="javascript:this.src='../../static/img/head.png';" src="" class="layui-nav-img">

                </a>
                <dl class="layui-nav-child">
                    <dd><a href="">基本资料</a></dd>
                    <dd><a href="">安全设置</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item"><a href="/user/user.do?service=loginOut">退了</a></li>
        </ul>
    </div>

    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
            <ul class="layui-nav layui-nav-tree"  lay-filter="test">
                <li class="layui-nav-item layui-nav-itemed">
                    <a class="" href="javascript:;">基本信息管理</a>
                    <dl class="layui-nav-child">
                        <dd><a href="/user/listHtml.do" target="content">用户管理</a></dd>
                        <dd><a href="https://www.sina.com.cn" target="content">客户管理</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;">系统管理</a>
                    <dl class="layui-nav-child">
                        <dd><a href="/user/user.do?service=updatePwd" target="content">修改密码</a></dd>
                        <dd><a href="/user/user.do?service=updateImgPage" target="content">修改头像</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;">统计分析</a>
                    <dl class="layui-nav-child">
                        <dd><a href="javascript:;" target="content">年拜访总量</a></dd>
                        <dd><a href="javascript:;" target="content">月拜访总量</a></dd>
                        <dd><a href="javascript:;" target="content">区间拜访总量</a></dd>
                    </dl>
                </li>
            </ul>
        </div>
    </div>

    <div class="layui-body">
        <!-- 内容主体区域 -->
        <div style="padding: 15px; width: 100%;height: 100%" >
            <iframe name="content" style="width: 100%;height: 100%;border: 0;" src="https://8zt.cc/"></iframe>
        </div>
    </div>

    <div class="layui-footer">
        <!-- 底部固定区域 -->
        © layui.com - 底部固定区域
    </div>
</div>
<script src="../../static/layui/layui.js"></script>
<script>
    //JavaScript代码区域
    layui.use(['element','jquery'], function(){
        var element = layui.element,
        $ = layui.jquery;

        $.post("/user/user.do?service=userImg",function (rs) {
            var res = JSON.parse(rs);
            if (res.code == 200 ){
                $("#userImg").attr("src",res.data);
            }
        })
    });
</script>
</body>
</html>
